package cn.group7.padserver.dao;

import cn.group7.padserver.entity.ShoppingModel;
import cn.group7.padserver.pojo.ShoppingCart;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author 谷汉斌
 * @description
 * @createTime 2024/8/4 下午3:23
 */
@Mapper
public interface ShoppingCartDao {

    List<ShoppingModel> selectByShopping(ShoppingCart shoppingcart);

    int updateByPrimaryKeySelective(ShoppingCart shoppingcart);

    int insertSelective(ShoppingCart shoppingcart);

    int deleteByPrimaryKey(Integer id);
}
